function  state = GenPlots( in, prefix)
%GENPLOTS Generates figures for S, R, C
%   in: {__, 4} cell array
for x = 1:size(in(:,1),1)
    plot(in{x,3},in{x,4}(:,1),'b-',in{x,3},in{x,4}(:,2),'k-',in{x,3},in{x,4}(:,3),'r-');
    xlabel('t');
    ylabel('N(t)');
    title(['CRISPR Population Model: ' prefix ' ' num2str(in{x,1},'%05d')]);
    legend('S','R','C');
    saveas(gcf,[prefix num2str(in{x,1}, '%05d') '.jpg']);
    close all; % Close Current Figure
end
    state = -1;
end
    
